<?php

echo __LINE__;echo "<br>";
echo __FILE__;echo "<br>";
echo __DIR__;echo "<br>";
echo HelloWorld();echo "<br>";
echo A::foo();echo "<br>";

function HelloWorld(){
  echo __FUNCTION__;
}

Class A{
  static function foo(){
    echo __METHOD__;
  }
}
